
const mobile = (id) => {
	if(!id) return '--'

	let starLength = id.length - 7
	let starStr = ''
	for (let i = 0; i < starLength; i++) {
		starStr = starStr + '•'
	}
	
	let str = id.substr(0,3) + ' ' + starStr + ' ' + id.substr(-4)

	return str
}
export default mobile
